﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_MTO_Finibom : DataObject
    { 
        [Column]
        public string Plant { get { return _Plant; } set { _Plant = value; EntityState.FieldChange("Plant"); } } private string _Plant; public static FieldInfo plant = new FieldInfo("m_MTo_Finibom", "Plant");
        [Column]
        public string Subline { get { return _Subline; } set { _Subline = value; EntityState.FieldChange("Subline"); } } private string _Subline; public static FieldInfo subline = new FieldInfo("m_MTo_Finibom", "Subline");
        [Column]
        public string Material_Type { get { return _Material_Type; } set { _Material_Type = value; EntityState.FieldChange("Material_Type"); } } private string _Material_Type; public static FieldInfo material_Type = new FieldInfo("m_MTo_Finibom", "Material_Type");
        [Column]
        public string Pack_Size { get { return _Pack_Size; } set { _Pack_Size = value; EntityState.FieldChange("Pack_Size"); } } private string _Pack_Size; public static FieldInfo pack_Size = new FieldInfo("m_MTo_Finibom", "Pack_Size");
        [Column]
        public string Recipe_Group { get { return _Recipe_Group; } set { _Recipe_Group = value; EntityState.FieldChange("Recipe_Group"); } } private string _Recipe_Group; public static FieldInfo recipe_Group = new FieldInfo("m_MTo_Finibom", "Recipe_Group");
        [Column]
        public string Lot_Size { get { return _Lot_Size; } set { _Lot_Size = value; EntityState.FieldChange("Lot_Size"); } } private string _Lot_Size; public static FieldInfo lot_Size = new FieldInfo("m_MTo_Finibom", "Lot_Size");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("m_MTo_Finibom", "Status");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("m_MTo_Finibom", "Time");

    }
}
